package com.autcar.training.service;

import com.autcar.training.entity.FeedBack;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.service
 * @ClassName: FeedBackService
 * @Author: YHHHH
 * @Description:
 * @Date: 2020/8/29 11:08
 * @Version: 1.0
 */
@Service
public interface FeedBackService  {

    //增加一条信息反馈
    int addFeedBack(FeedBack feedBack);

    //删除一条信息反馈
    int deleteFeedBackById(Integer id);

    //编辑信息反馈
    int updateFeedBack(FeedBack feedBack);

    //通过订单编号查看信息反馈
    FeedBack selectFeedBackById(Integer id);

    //查看所有反馈
    List<FeedBack> findAllFeedBack();

    //根据订单表ID查询反馈信息
    FeedBack selectByOid(String oid);

}
